<?php
/**
 * Created by JetBrains PhpStorm.
 * User: scala
 * Date: 12-10-23
 * Time: 上午10:17
 * To change this template use File | Settings | File Templates.
 */
class AboutAction extends Action
{

    function index(){
		$article=M("StaffArticle");
		$user=M("User");
		$list=$article->limit('0,3')->order("createtime desc")->select();
        $userList=$user->select();
		$this->assign("list",$list);
        $this->assign("userList",$userList);
        $this->display();
    }

}
